package com.zyz.system.mapper.question;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zyz.system.model.question.Question;
import com.zyz.system.model.question.dto.QuestionQueryDTO;
import com.zyz.system.model.question.vo.QuestionVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface QuestionMapper extends BaseMapper<Question> {

    /**
     * 根据前端提供的questionQueryDTO来查询题目列表
     * @param questionQueryDTO  questionQueryDTO
     * @return QuestionVO
     */
    List<QuestionVO> selectQuestionList(QuestionQueryDTO questionQueryDTO);
}
